import java.util.Vector;
import java.io.Serializable;

public class GamePacket implements Serializable
{
    public enum MessageType
    {
        REQUEST_PEER_LIST,
        PEER_LIST_ACK,
        REGISTER,
        REGISTER_ACK,
        UPDATE,
        BIRTH,
        KILLED,
        //NEW_POS_ACK,
        FIRE,
        MISSED_ACK,
        KILLED_ACK,
        BYE
    };

	public enum Action
	{
		UP,
		DOWN,
		LEFT,
		RIGHT,
		FIRE
	};

	public Action MsgAction;
    public MessageType MsgType;
    public Peer me;
    public String targetName;
    public int locationXNew;
    public int locationYNew; 
    public int locationX;
    public int locationY;
    public int direction;
    public Vector peers;

}
